package org.aswing.plaf.basic;

extern class BasicTreeUI extends org.aswing.plaf.BaseComponentUI, implements org.aswing.plaf.TreeUI, implements org.aswing.tree.NodeDimensions, implements org.aswing.event.TreeModelListener {
	function new() : Void;
	function __treeCollapsed(p0 : org.aswing.event.TreeEvent) : Void;
	function __treeExpanded(p0 : org.aswing.event.TreeEvent) : Void;
	function cancelEditing(p0 : org.aswing.JTree) : Void;
	function countNodeDimensions(p0 : Dynamic, p1 : Int, p2 : Int, p3 : Bool, p4 : org.aswing.geom.IntRectangle) : org.aswing.geom.IntRectangle;
	function getClosestPathForLocation(p0 : org.aswing.JTree, p1 : Int, p2 : Int) : org.aswing.tree.TreePath;
	function getEditingPath(p0 : org.aswing.JTree) : org.aswing.tree.TreePath;
	function getLeftChildIndent() : Int;
	function getMousePointedPath() : org.aswing.tree.TreePath;
	function getPathBounds(p0 : org.aswing.JTree, p1 : org.aswing.tree.TreePath) : org.aswing.geom.IntRectangle;
	function getPathForRow(p0 : org.aswing.JTree, p1 : Int) : org.aswing.tree.TreePath;
	function getRightChildIndent() : Int;
	function getRowCount(p0 : org.aswing.JTree) : Int;
	function getRowForPath(p0 : org.aswing.JTree, p1 : org.aswing.tree.TreePath) : Int;
	function getViewSize(p0 : org.aswing.JTree) : org.aswing.geom.IntDimension;
	function isEditing(p0 : org.aswing.JTree) : Bool;
	function setLeftChildIndent(p0 : Int) : Void;
	function setRightChildIndent(p0 : Int) : Void;
	function startEditingAtPath(p0 : org.aswing.JTree, p1 : org.aswing.tree.TreePath) : Bool;
	function stopEditing(p0 : org.aswing.JTree) : Bool;
	function toString() : String;
	function treeNodesChanged(p0 : org.aswing.event.TreeModelEvent) : Void;
	function treeNodesInserted(p0 : org.aswing.event.TreeModelEvent) : Void;
	function treeNodesRemoved(p0 : org.aswing.event.TreeModelEvent) : Void;
	function treeStructureChanged(p0 : org.aswing.event.TreeModelEvent) : Void;
	private var cells : org.aswing.util.Vector;
	private var currentCellRenderer : org.aswing.tree.TreeCell;
	private var depthOffset : Int;
	private var editingPath : org.aswing.tree.TreePath;
	private var editor : org.aswing.tree.TreeCellEditor;
	private var expandControl : org.aswing.plaf.basic.tree.ExpandControl;
	private var ignoreLAChange : Bool;
	private var lastViewPosition : org.aswing.geom.IntPoint;
	private var leftChildIndent : Int;
	private var rendererPane : org.aswing.CellPane;
	private var rightChildIndent : Int;
	private var selectionModel : org.aswing.tree.TreeSelectionModel;
	private var totalChildIndent : Int;
	private var tree : org.aswing.JTree;
	private var treeModel : org.aswing.tree.TreeModel;
	private var treeState : org.aswing.tree.AbstractLayoutCache;
	private var validCachedViewSize : Bool;
	private var viewSize : org.aswing.geom.IntDimension;
	private function cellFactoryChanged() : Void;
	private function checkCreateCells() : Void;
	private function createRendererPaneGraphics() : org.aswing.graphics.Graphics2D;
	private function doSelectPathForEvent(p0 : flash.events.MouseEvent) : Void;
	private function ensureRowsAreVisible(p0 : Int, p1 : Int) : Void;
	private function getEditionKey() : UInt;
	private function getPropertyPrefix() : String;
	private function getRowX(p0 : Int, p1 : Int) : Int;
	private function handleExpandControlClick(p0 : org.aswing.tree.TreePath, p1 : Int, p2 : Int) : Void;
	private function installComponents() : Void;
	private function installDefaults() : Void;
	private function installListeners() : Void;
	private function isControlKey(p0 : UInt) : Bool;
	private function isLocationInExpandControl(p0 : org.aswing.tree.TreePath, p1 : Int, p2 : Int) : Bool;
	private function paintExpandControl(p0 : org.aswing.graphics.Graphics2D, p1 : org.aswing.geom.IntRectangle, p2 : org.aswing.tree.TreePath, p3 : Int, p4 : Bool, p5 : Bool) : Void;
	private function positRendererPaneX(p0 : Int) : Void;
	private function repaintPath(p0 : org.aswing.tree.TreePath) : Void;
	private function selectPathForEvent(p0 : org.aswing.tree.TreePath, p1 : flash.events.MouseEvent) : Void;
	private function setCellEditor(p0 : org.aswing.tree.TreeCellEditor) : Void;
	private function setEditable(p0 : Bool) : Void;
	private function setModel(p0 : org.aswing.tree.TreeModel) : Void;
	private function setRootVisible(p0 : Bool) : Void;
	private function setRowHeight(p0 : Int) : Void;
	private function setSelectionModel(p0 : org.aswing.tree.TreeSelectionModel) : Void;
	private function toggleExpandState(p0 : org.aswing.tree.TreePath) : Void;
	private function uninstallComponents() : Void;
	private function uninstallDefaults() : Void;
	private function uninstallListeners() : Void;
	private function updateCachedViewSize() : Void;
	private function updateDepthOffset() : Void;
	private function updateExpandedDescendants(p0 : org.aswing.tree.TreePath) : Void;
	private function updateLayoutCacheExpandedNodes() : Void;
	private function updateLeadRow() : Void;
	private function updateSize() : Void;
}
